package com.mmr.dxp.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "exchange_date_log")
public class ExchangeDataLog implements Serializable {

    private static final long serialVersionUID = 5996915674832728707L;

    @Id
    private String id;
    private String processId;
    private String subId;
    private String datasourceId;
    private String destDatasourceId;
    private String srcTable;
    private String destTable;
    private String sourceTable;
    private String nodeId;
    private String destNodeId;
    private String exchangeDate;
    private String operateDate;
    private long selectSum;
    private long sendSum;
    private long rcvSum;
    private long splitInsertSum;
    private long splitUpdateSum;
    private long splitDeleteSum;
    private String areaId;
    private int pushState;
}

